2004-08-13 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
+ Don't install the settings_notify_cb from here, since it
+ may be called before the first screen_changed signal,
+ confusing the logic in gtk_file_chooser_screen_changed().
+ (#148803, Abel Daniel)
+
* gtk/gtkcombobox.c: Make re-sensitivation work
in menu mode.
2004-08-13 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
+ Don't install the settings_notify_cb from here, since it
+ may be called before the first screen_changed signal,
+ confusing the logic in gtk_file_chooser_screen_changed().
+ (#148803, Abel Daniel)
+
* gtk/gtkcombobox.c: Make re-sensitivation work
in menu mode.
2004-08-13 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
+ Don't install the settings_notify_cb from here, since it
+ may be called before the first screen_changed signal,
+ confusing the logic in gtk_file_chooser_screen_changed().
+ (#148803, Abel Daniel)
+
* gtk/gtkcombobox.c: Make re-sensitivation work
in menu mode.
2004-08-13 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set):
+ Don't install the settings_notify_cb from here, since it
+ may be called before the first screen_changed signal,
+ confusing the logic in gtk_file_chooser_screen_changed().
+ (#148803, Abel Daniel)
+
* gtk/gtkcombobox.c: Make re-sensitivation work
in menu mode.
}
static void
-gtk_file_chooser_default_style_set (GtkWidget *widget,
- GtkStyle *previous_style)
+gtk_file_chooser_default_style_set (GtkWidget *widget,
+ GtkStyle *previous_style)
{
GtkFileChooserDefault *impl;
if (GTK_WIDGET_CLASS (parent_class)->style_set)
GTK_WIDGET_CLASS (parent_class)->style_set (widget, previous_style);
- check_icon_theme (impl);
+ if (gtk_widget_has_screen (GTK_WIDGET (impl)))
+ change_icon_theme (impl);
g_signal_emit_by_name (widget, "default-size-changed");
}